package com.krisyu.chainOfResponsibility.COR2;


/**
 * @DATE 2022/1/5
 * @Author KrisYu
 * @Description
 */
public class Husband extends Handler{
    public Husband() {
        super(Handler.HUSBAND_LEVEL_REQUEST);
    }

    @Override
    protected void response(IWomen women) {
        System.out.println("-----------------妻子向丈夫请示----------------");
        System.out.println("妻子的请求是： " + women.getRequest());
        System.out.println("丈夫的答复是： 同意\n");
    }
}
